package cn.itsource.pethome.user.constant;

/**
 * 微信相关常量
 */
public class WechatConstant {
    /**APPID*/
    public static final String APPID = "wxd853562a0548a7d0";
    /**回调域名*/
    public static final String REDIRECT_URI = "http://bugtracker.itsource.cn/wechat/callback";

    public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";
    /**获取二维码地址*/
    public static final String CODE_URL = "https://open.weixin.qq.com/connect/qrconnect?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=snsapi_login&state=STATE#wechat_redirect";
    /**获取token url*/
    public static final String TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
    /**获取用户信息 url*/
    public static final String USER_INFO = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";

    //跳转的服务
    public static final String REDIRECT_SERVER = "http://www.360msj.xyz";

    //绑定界面
    public static final String BINDER = "/binder.html";


}
